public class ArcherIdleState : ArcherGroundState
{
    public ArcherIdleState(Enemy enemy, string animName) : base(enemy, animName) { }

    public override void Enter()
    {
        base.Enter();
        stateTimer = Enemy.idleTime;
        Enemy.SetVelocityToZero();
    }

    public override void Update()
    {
        base.Update();
        if (stateTimer <= 0)
        {
            StateMachine.ChangeTo(Enemy.MoveState);
        }
    }
}
